export function downFile(){
	uni.getSetting({
		success(res) {
			console.log(res);
			if (!res.authSetting['scope.writePhotosAlbum']) {
				uni.authorize({
				scope: 'scope.writePhotosAlbum',
				success(res) {
					that.downloadFileClick(downLoadUrl);
				},
				fail() {
					uni.showModal({
						content: '请允许相册权限, 拒绝将无法正常保存视频',
						showCancel: false,
						success() {
							uni.openSetting({
								success(settingdata) {
									if (settingdata.authSetting['scope.writePhotosAlbum']) {} else {
										console.log('获取权限失败')
										uni.showToast({
											title: "获取权限失败",
											icon: 'none',
											duration: 2000
										});
									}
								}
							})
						}
					})
				}
			})
			} else {
				that.downloadFileClick(downLoadUrl)
			}
		}
	})
}